package com.alianlab.zhouzhang.service;

import com.alianlab.zhouzhang.domain.TestEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Service Interface for managing TestEntity.
 */
public interface TestEntityService {

    /**
     * Save a testEntity.
     *
     * @param testEntity the entity to save
     * @return the persisted entity
     */
    TestEntity save(TestEntity testEntity);

    /**
     * Get all the testEntities.
     *
     * @param pageable the pagination information
     * @return the list of entities
     */
    Page<TestEntity> findAll(Pageable pageable);

    /**
     * Get the "id" testEntity.
     *
     * @param id the id of the entity
     * @return the entity
     */
    TestEntity findOne(Long id);

    /**
     * Delete the "id" testEntity.
     *
     * @param id the id of the entity
     */
    void delete(Long id);
}
